.bigbox {
    width: 10rem;
    box-sizing: border-box;
}

//切换题目
header {
    width: 100%;
    height: 1.6rem;
    box-sizing: border-box;
    padding-left: 0, 6rem;
    background-color: #726fff;
    position: fixed;
    right: 0px;
    top: 0px;

    .img {
        width: 0.2667rem;
        height: 0.4rem;
        margin-left: 0.53rem;
        margin-top: 0.6rem;
        margin-right: 55%;
    }

    span {
        width: 1.6rem;
        line-height: 0.4rem;
        font-size: 0.4rem;
        font-weight: 700;
        color: #ffff;
        margin-right: 5%;
    }
}

//试题内容
main {
    width: 100%;
    padding: 2.2rem 0.5333rem 0rem;
    box-sizing: border-box;

    //题目
    .title {
        width: 100%;

        p {
            width: 1.07rem;
            height: 0.5rem;
            border-radius: 0.05rem;
            background-color: #a2a1e4;
            font-size: 0.2667rem;
            text-align: center;
            line-height: 0.5rem;
            font-size: 0.27rem;
            display: inline-block;
            color: #ffffff;
        }

        span {
            font-size: 0.4rem;
            margin-left: 0.27rem;
            color: #333333;
            line-height: 0.67rem;
        }
    }

    //选项
    .option {
        margin-top: 0.6667rem;

        input {
            // display: block;
            margin-bottom: 0.6333rem;
        }

        label {
            font-size: 0.4rem;
        }

        .active {
            color: #6966eb;
        }
    }

    //答案解析
    .answer {
        display: none;
        width: 100%;
        padding: 0.53rem 0.4rem 0.67rem;
        background-color: #f4f4f4;
        border-radius: 0.2rem;
        box-sizing: border-box;

        &.analysisFade1 {
            animation: analysisFade1 .3s linear both;
        }

        &.analysisFade2 {
            animation: analysisFade2 .3s linear both;
        }

        p {
            font-size: 0.4rem;
            color: #131313;

            &:last-child {
                margin-top: 0.33rem;
                line-height: 0.67rem;
            }
        }
    }

}

//底部功能
footer {
    width: 100%;
    height: 1.35rem;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    right: 0px;
    bottom: 0px;
    border-top: 0.01rem solid rgb(183, 181, 181);

    img {
        width: 0.32rem;
        height: 0.32rem;
        vertical-align: middle;
    }

    span {
        vertical-align: middle;
        font-size: 0.32rem;
    }

    .one {
        margin-left: 0.53rem;
    }

    .two {
        margin-left: 0.25rem;
    }

    .three {
        width: 3.47rem;
        height: 0.93rem;
        background-color: #726fff;
        border-radius: 0.47rem;
        text-align: center;
        line-height: 0.93rem;
        margin-left: 0.47rem;
        margin-right: 1.27rem;
        font-size: 0.4rem;
        color: #ffffff;
    }
}

//题目列表
.grayy {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    background-color: rgba($color: #000000, $alpha: 0.5);

    .list {
        &.fade {
            animation: fade .4s linear both;
        }

        width: 100%;
        height: 10rem;
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 11;
        background-color: #ffffff;


        .on {
            width: 100%;
            height: 1.47rem;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            border-bottom: 0.01rem solid rgb(200, 198, 198);

            img {
                width: 0.32rem;
                height: 0.32rem;
                vertical-align: middle;
            }

            span {
                vertical-align: middle;
                font-size: 0.32rem;
            }

            .one {
                margin-left: 0.53rem;
            }

            .two {
                margin-left: 0.25rem;
            }

            .three {
                width: 3.47rem;
                height: 0.93rem;
                background-color: #726fff;
                border-radius: 0.47rem;
                text-align: center;
                line-height: 0.93rem;
                margin-left: 0.47rem;
                margin-right: 1.27rem;
                font-size: 0.4rem;
                color: #ffffff;
            }
        }

        //单选题
        .danxuan {
            width: 8.92rem;
            margin-top: 0.67rem;
            margin-left: 0.6rem;

            p {
                font-size: 0.4rem;
                font-weight: bold;
                color: #333333;
            }

            .tihao {
                display: flex;
                flex-wrap: wrap;
                margin-top: 0.4rem;

                .one {
                    width: 1.2rem;
                    height: 1.2rem;
                    border-radius: 50%;
                    margin-right: 0.35rem;
                    color: #726fff;
                    background-color: #dbdaff;
                    text-align: center;
                    line-height: 1.2rem;
                    margin-bottom: 0.1333rem;
                    font-size: 0.4rem;
                    position: relative;

                    &.notChoose {
                        box-sizing: border-box;
                        background-color: #ffffff;
                        border: solid 0.01rem #b5b5b5;
                    }

                    &.errorAnswer {
                        background-color: #ffb9b9;
                        color: #ff3232;
                    }

                    .fa {
                        position: absolute;
                        top: 0rem;
                        right: 0rem;
                        color: #fe8545;
                    }
                }
            }
        }

        //多选题
        .duoxuan {
            width: 8.92rem;
            height: 3.6667rem;
            margin-left: 0.6rem;
            margin-top: 0.4rem;

            p {
                font-size: 0.4rem;
                color: #333333;
            }

            .tihao2 {
                display: flex;
                flex-wrap: wrap;
                margin-top: 0.4rem;

                div {
                    width: 1.2rem;
                    height: 1.2rem;
                    border-radius: 50%;
                    margin-right: 0.3467rem;
                    ;
                    color: #726fff;
                    background-color: #dbdaff;
                    text-align: center;
                    line-height: 1.2rem;
                    margin-bottom: 0.1333rem;
                }
            }

        }
    }
}

.gray {
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba($color: #000000, $alpha: 0.5);
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;

    .point {
        width: 7.8rem;
        height: 4.53rem;
        background-color: #ffffff;
        border-radius: 0.27rem;
        position: fixed;
        top: 30%;
        left: calc(50% - 7.8rem / 2);

        .ques {
            margin-top: 1.13rem;
            text-align: center;
            font-size: 0.4rem;
            font-weight: 550;
            color: #f90000;
        }

        .two {
            width: 6.53rem;
            height: 1.01rem;
            margin: 0.99rem auto 0rem;
            display: flex;
            justify-content: space-between;

            .Btn {
                width: 3.13rem;
                height: 1.01rem;
                border-radius: 0.05rem;
                font-size: 0.32rem;
                outline: none;
            }

            #cancel {
                background-color: #f2f2f2;
                color: #333333;
            }

            #confirm {
                background-color: #726fff;
                color: #ffffff;
            }
        }
    }

}

.submit {
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba($color: #000000, $alpha: 0.5);
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;

    .point {
        width: 7.8rem;
        box-sizing: border-box;
        padding:0.53rem 0.4rem;
        background-color: #ffffff;
        border-radius: 0.27rem;
        position: fixed;
        top: 30%;
        left: calc(50% - 7.8rem / 2);

        p {
            text-align:left;
            font-size: 0.4rem;
            font-weight: 550;
            color: #333333;
            margin-bottom: 0.27rem;
        }
        .p1{
            color: #726fff;
        }
        .p2{
            span{
                color: #726fff;
            }
        }
        .p3{
            span{
                color: #f90000;
            }
        }

        .two {
            width: 6.53rem;
            height: 1.01rem;
            margin: 0rem auto;
            display: flex;
            justify-content: space-between;

            .Btn {
                width: 3.13rem;
                height: 1.01rem;
                border-radius: 0.05rem;
                font-size: 0.32rem;
                outline: none;
            }

            #cancel {
                background-color: #f2f2f2;
                color: #333333;
            }

            #confirm {
                background-color: #726fff;
                color: #ffffff;
            }
        }
    }

}

/*下一页-->向上翻-->显示*/
@keyframes fade {
    from {
        transform: translateY(0%);
    }

    to {
        transform: translateY(100%);
    }
}

/*下一页-->向上翻-->显示*/
@keyframes analysisFade1 {
    from {
        transform: scale(100%);
    }

    to {
        transform: scale(0%);
    }
}

/*下一页-->向上翻-->显示*/
@keyframes analysisFade2 {
    0% {
        transform: scale(0%);
    }

    100% {
        transform: scale(100%);
    }
}